import fetch from 'utils/fetch';

// 小组
export function getGroupListByType(obj) {
  return fetch({
    url: '/api/admin/loanOrderApplyTown/getGroupListByType',
    method: 'get',
    data: obj
  });
}
// 初审报表（组\人）接口
export function pageGroup(obj) {
  return fetch({
    url: '/api/admin/loanOrderApplyTown/getFirstTrialPage',
    method: 'post',
    data: obj
  });
}
// 初审报表（总）接口
export function page(query) {
  return fetch({
    url: '/api/admin/loanOrderApplyTown/getTotalStatistics',
    method: 'get',
    params: query
  });
}
// 组、人导出
export function pageExport(obj) {
  return fetch({
    url: '/api/admin/loanOrderApplyTown/getFirstTrialExport',
    method: 'post',
    data: obj
  });
}
// 总导出
export function pageExportTotal(query) {
  return fetch({
    url: '/api/admin/loanOrderApplyTown/getTotalStatisExport',
    method: 'get',
    params: query
  });
}